<%@ taglib prefix="t" tagdir="/WEB-INF/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<t:wrapper>
	<jsp:attribute name="title">
		<spring:message code="live.overview.title" />
	</jsp:attribute>
	<jsp:body>
		<c:forEach var="liveSession" items="${liveSessions}">
			<div>
				<h2>${liveSession.title}</h2>
				<p class="live-session-teacher">${liveSession.teacher.firstName} ${liveSession.teacher.lastName}
				<a href="<c:url value="/course/live/view/${liveSession.id}"/>">
					<spring:message code="live.overview.view"/>
				</a>				
			</div>
		</c:forEach>
	</jsp:body>
</t:wrapper>